This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Only Intenet Explorer has an "all" collection, and the ".onclick()" should have thrown an error, since onclick is an event -- the method is .click(). The "forms[0]" link in the chain above is a bit of a hack to simulate the "all" collection in NS4, and works because Domino creates a <form> tag whether there is an active form to displayor not. Buttons are always elements of the forms they appear in.
If you don't have to worry about Netscape 4, then the preferred method would be: